package com.qfedu.test;

import com.qfedu.service.UserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringMybatis {

    public static void main(String[] args) {

        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");

        UserService userService =  applicationContext.getBean(UserService.class);

        userService.findUserByNo("EB100");
    }


}
